package com.xuecheng.order.config;

import com.alibaba.excel.EasyExcel;
import com.xuecheng.commons.model.vo.OrdersVo;


import java.util.List;


public class ExcelUtil {
    public static <T> void writeExcel(List<OrdersVo> ordersList, String fileName){
        EasyExcel.write(fileName, OrdersVo.class)
                .sheet().
                doWrite(ordersList);
    }
    }


